package cn.ggcms.cms.biz;

import java.util.List;

import cn.ggcms.cms.dao.ChannelsDao;
import cn.ggcms.cms.vo.Channels;

public class ChannelsBiz implements ChannelsDao {

	private ChannelsDao channelsDao;

	public ChannelsBiz() {

	}

	public ChannelsBiz(ChannelsDao channelsDao) {
		this.channelsDao = channelsDao;
	}

	public boolean doDeleteChannelsById(int id) {
		return this.channelsDao.doDeleteChannelsById(id);
	}

	public int doInsertChannels(Channels channels) {
		return this.channelsDao.doInsertChannels(channels);
	}

	public boolean doUpdateChannels(Channels channels) {
		return this.channelsDao.doUpdateChannels(channels);
	}

	public List<Channels> findChannels() {
		return this.channelsDao.findChannels();
	}

	public Channels findChannelsById(int id) {
		return this.channelsDao.findChannelsById(id);
	}

	

}
